home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / demos / GL / flight / objects.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-02  |  1.7 KB  |  74 lines

  1. /*
  2.  * Copyright 1984-1991, 1992, 1993, 1994, Silicon Graphics, Inc.
  3.  * All Rights Reserved.
  4.  *
  5.  * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
  6.  * the contents of this file may not be disclosed to third parties, copied or
  7.  * duplicated in any form, in whole or in part, without the prior written
  8.  * permission of Silicon Graphics, Inc.
  9.  *
  10.  * RESTRICTED RIGHTS LEGEND:
  11.  * Use, duplication or disclosure by the Government is subject to restrictions
  12.  * as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
  13.  * and Computer Software clause at DFARS 252.227-7013, and/or in similar or
  14.  * successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
  15.  * rights reserved under the Copyright Laws of the United States.
  16.  */
  17.  
  18. /*
  19.  *  objects.h $Revision: 1.8 $
  20.  */
  21.  
  22.  
  23. /*
  24.  *  plane types
  25.  */
  26. #define C150 0
  27. #define B747 1
  28. #define F15  2
  29. #define F16  3
  30. #define F18  4
  31. #define P38  5
  32. #define F14  6
  33. #define B727 7
  34. #define STEALTH 8
  35.  
  36. /*
  37.  *  plane names
  38.  */
  39. #define C150_NAME "C-150"
  40. #define B747_NAME "B-747"
  41. #define F15_NAME "F-15"
  42. #define F16_NAME "F-16"
  43. #define F18_NAME "F-18"
  44. #define P38_NAME "P-38"
  45. #define F14_NAME "F-14"
  46. #define B727_NAME "B-727"
  47. #define STEALTH_NAME "F-117A Stealth"
  48.  
  49. /*
  50.  *  plane state bits
  51.  */
  52. #define PS_MAINBODY    0x0001
  53. #define PS_LANDINGGEAR    0x0002
  54. #define PS_FAR        0x0004
  55. #define PS_SHADOW    0x0008
  56. #define PS_FARSHADOW    0x0010
  57. #define PS_THRUST    0x0020
  58. #define PS_SW1        0x0100
  59. #define PS_SW2        0x0200
  60. #define PS_SW3        0x0400
  61. #define PS_SW4        0x0800
  62. #define PS_RK1        0x1000
  63. #define PS_RK2        0x2000
  64. #define PS_RK3        0x4000
  65. #define PS_RK4        0x8000
  66. #define PS_WEAPONS    0xff00
  67. #define PS_W_SHIFT    8
  68.  
  69. /*
  70.  *  building state bits
  71.  */
  72. #define BUILDING_NEAR    0x01
  73. #define BUILDING_FAR    0x02
  74.